package org.example.jiaxiao.service.impl;

import org.example.jiaxiao.mapper.GradeMapper;
import org.example.jiaxiao.service.GradeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class GradeServiceImpl implements GradeService {

    @Autowired
    private GradeMapper gradeMapper;

    @Override
    public int addGrade(Integer studentId, String examId) {
        return gradeMapper.addGrade(studentId, examId);
    }
}
